package tests.model_tests;

import static org.junit.Assert.*;
import application.models.datalayer.DataLayerCommunicator;
import org.junit.Test;

/**
 * This class tests that the DataLayerCommunicator is in fact a singleton
 * 
 * @author Morten F. Therkildsen & Philip J. Rasmussen
 */
public class DataLayerCommunicator_test {

	@Test
	public void instanceSingletonTest() {
		
		DataLayerCommunicator instance = DataLayerCommunicator.getInstance();
		if(!instance.equals(DataLayerCommunicator.getInstance())) fail();
	}

}
